package kr.co.boogui.dao;

import java.util.List;

import kr.co.boogui.model.SalesVO;
import mybatis3.helper.MVCSqlSessionFactory;

import org.apache.ibatis.session.SqlSession;

public class SalesDAO {
	
	public static List<SalesVO> selectSales() {
		List<SalesVO> result = null;
		SqlSession sess = null;
		try {
			sess = MVCSqlSessionFactory.openSession();
			result = sess.selectList("SalesMapper.selectSalesSQL");
		} finally {
			sess.close();
		}
		
		return result;
	}

}
